﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;


namespace WebAssistant.BusinessLogic.Model
{
    [SugarTable("countries")]
    public class Countries
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        public int Id { get; set; }

        [SugarColumn(ColumnName = "country_id")]
        public int CountryId { get; set; }

        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; }

        [SugarColumn(ColumnName = "display_name", IsNullable = true)]
        public string DisplayName { get; set; }

        [SugarColumn(ColumnName = "code", IsNullable = true)]
        public string Code { get; set; }

        [SugarColumn(ColumnName = "phone_code", IsNullable = true)]
        public int PhoneCode { get; set; }
    }
}
